package com;

public class Test {

    public static void main(String[] args) {
        String str = "im-state-normal,im-state-lack,im-state-zero,im-state-shelves,";
        int i = str.indexOf("im-state-lack");
        if (i != -1) {
            System.out.println(111);
        }
    }

}
